package ticketing_system.Factory;

import java.util.Scanner;
public class User {
    public Double price(){
        System.out.print("请输入您的票价:");
        Scanner sc = new Scanner(System.in);
        Double price = sc.nextDouble();
        return price;
    }
}
